<!-- Modal -->

<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal"
		aria-hidden="true">×</button>
	<h3>人员选择</h3>
</div>
<div class="modal-body">
	<form class="well form-search">
		<input type="text" class="input-small" placeholder="姓名" name="cname_">
		<div class="input-append">
			<input class="input-small" type="text" placeholder="创建日期起"
				onfocus="WdatePicker({isShowWeek:true})" name="createdate_q">
			<span class="add-on"><i class="icon-calendar"></i></span>
		</div>
		-
		<div class="input-append">
			<input class="input-small" type="text" placeholder="创建日期至"
				onfocus="WdatePicker({isShowWeek:true})" name="createdate_z">
			<span class="add-on"><i class="icon-calendar"></i></span>
		</div>
		<button class="btn btn-primary">
			<i class="icon-search icon-white"></i> 搜索
		</button>
		<button class="btn btn-info" type="reset">
			<i class="icon-certificate icon-white"></i> 重置
		</button>
	</form>
	<table cellpadding="0" cellspacing="0" border="0"
		class="table table-striped table-bordered" id="_memberSelectTable"
		width="100%">
		<thead>
			<tr>
				<th>用户名</th>
				<th>姓名</th>
				<th>英文名</th>
				<th>性别</th>
				<th>是否锁定</th>
			</tr>
		</thead>
		<tbody>

		</tbody>
	</table>
</div>
<div class="modal-footer">
	<button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
	<button id="_memberSelectOK" class="btn btn-primary">选择</button>
</div>
<script type="text/javascript">

$("form.form-search :button.btn-primary").click(function(e) {
	var data = AKF.formParams($("form.form-search"));
	_memberSelectTable.gridSearch(data);
	e.preventDefault();
});

var _memberSelectTable = $('#_memberSelectTable').initDT({
	"sAjaxSource" : "${_BASE_PATH}/system/member/query",
	"check" : "single"
});
</script>